package org.dandsoft.blackbox.mapreduce.client.operation;

/**
 * <p>
 * Если при вызове функции {@link Operation#map(Object, Object)}
 * вызвать функцию {@link OperationContext#emit(Object)} или из
 * {@link Operation#reduce(Object,org.dandsoft.blackbox.mapreduce.data.ValueIterator)}
 * вызвать {@link OperationContext#emit(org.dandsoft.blackbox.mapreduce.data.Key, Object)}
 * </p>
 *
 * @author Vilyuzhanin Denis (Fin)
 */
public class WrongEmitOperationException extends OperationException {
    public WrongEmitOperationException(PhaseType type, String operationName) {
        super("phase = \"" + type + "\", operationName = \"" + operationName + "\"");
    }
}
